﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SmartSpace.Core
{
	public interface ITaskService
	{
        bool Create(Task task);

        PagedList<Task> Find(Guid toUser, int start, int limit);

        /// <summary>
        /// 标记为已查看
        /// </summary>
        /// <param name="task"></param>
        bool MarkHasRead(Task task);
	}
}
